<template>
  <div id="app">
    <p>在App根组件读取count的值: {{ $store.state.count }}</p>
    <com-a></com-a>
    <p>-----------------</p>
    <com-b></com-b>
  </div>
</template>

<script>
import comA from '@/components/comA.vue'
import comB from '@/components/comB.vue'
export default {
  name: 'App',
  components: {
    comA,
    comB
  }
}
</script>

<style>
</style>
